package com.lnking.lnkingplace.service;


import com.lnking.lnkingplace.model.dto.recordUser.RecordDetailDto;
import com.lnking.lnkingplace.model.entity.Leaders;
import com.lnking.lnkingplace.model.request.leaders.LeadersAddRequest;
import com.lnking.lnkingplace.model.request.leaders.LeadersUpdateRequest;
import com.lnking.starter.mybatis.service.ICustomService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sn
 * @since 2022-09-03
 */
public interface ILeadersService extends ICustomService<Leaders> {

    /**
     * 通过用户登录名获取用户信息
     * @param username 用户登录名
     * @return 用户信息
     */
    Leaders getLeaderByName(String username);

    void update(LeadersUpdateRequest params);

    Leaders getUserDetailById(String id);

    void add(LeadersAddRequest params);
}
